package com.chenju.javastatic.domain.node;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
public class ParameterNode extends BaseNode{
    private String parameterType;
    private Long methodId;
    private Long annatationId;

    public ParameterNode(String name) {
        super(name);
        this.parameterType = null;
        this.methodId = null;
        this.annatationId = null;
    }

    public ParameterNode(String name, String parameterType) {
        super(name);
        this.parameterType = parameterType;
        this.methodId = null;
        this.annatationId = null;
    }
}
